<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>页面错误</title>
    <style>
        *{margin: 0;padding: 0;color: #444;}
        .main{padding-top: 30px;}
        .main h3{font-size: 15px;background: #fcfcfc;line-height: 40px;padding: 0 32px;}
        .main>div{padding: 20px 32px;}
    </style>
</head>
<body>
    <div style="text-indent: 32px;line-height: 100px;background: #fcfcfc;border-bottom: 1px solid #eee;font-size: 24px;font-weight: bold;">亲，您访问的页面有错误</div>
	<div class="main">
        <?php if($echo):?>
        <div><?php echo $echo;?></div>
        <?php endif;?>
        <?php if($debug):?>
        <h3>异常消息：</h3>
        <div><?php echo $message;?></div>
        <?php else:?>
        <div style="padding: 40px 0;text-align: center;"><?php echo $message;?></div>
        <?php endif;?>
        <?php if($debug):?>
        <h3>异常位置：</h3>
        <div>[<?php echo $code;?>] <?php $classes=explode('\\',$class);echo end($classes);?> on <?php echo $file;?> line <?php echo $line;?></div>
        <?php endif;?>
        <?php if($debug):?>
        <h3>调用栈：</h3>
        <div style="line-height: 20px;"><pre><?php echo $trace;?></pre></div>
        <?php endif;?>
    </div>
</body>
</html>